found bugs. need to make an end game condition.