added restart and collision detection in lvl