stack version of subroutines
Merge pull request #18 from yetanotherhacker/stackroutines

stack version of subroutines