added second y collision detection and house generation