Initial implementation of push and get
Refactor push to use a private last method.