Changed naming of push and pop queue functions, and added get function.