Java Split String Into Variables In Statistics