refactored, function rename, new function, printing a move per input
added env