finished simple implementation of Queue