had method to check if code is same as expected word.
add test for convert string to list
add method main to manage game