player and enemy collision functioning
player collision with enemies based on player jumping