collision functions

fruitgame updated to test it