Added collision events code and ability to jump