added method for parsing inputed string and convert to int, added input
for playing, added structures that handle changes