Added collision detection to level 1 in lua