setting up solid tiles and collision detection