change code from class to struct
finish adventure ruby game