Implemented Queue class

Implemented Queue class methods. Still need to to test it.