Figure.h/cpp: added more consts and a useful function into Rectangle. Also replaced fmax with std::max
Ground.cpp: implemented collision check function
Remove unused