Updated the printing of valid moves