Implementation of tower of hanoi using opengl