implemented push and pop instructions