CicularQueue functions implemented and algorithm functions created