refactor snake class
refactor game parts