Implemented simple array based implementation of Queue and Stack