Have done my work in a seperate file thus far, have a lot of accessory functions and the beginnings of a game loop with gamestate stored in its own datatype. we can loop with recursive calls to getCommand