Revert "Added subroutines from book... not working"

This reverts commit 4edbb8f3114f47c8c058d0dc0ab5e790829b5d52.