Created an Item class that Player and Enemy derive from; added collision
detection; refactored some duplication; all basic game features now
implemented