Created level and collision detection.