2Dpicking algorithms implemented in OPenGL/C++