Created player class and added player tile collision