Add peek, push and pop to NPStack

Added peek, push and pop functions to NPStack including specs.