added front/back methods to queue classes