PhasePong(C++): Implemented collision handling