Started to add functionality to interface with the subroutine.
It is not yet completed; when the program is run it will still call the shd program until the subroutine is fully implemented.
Leftover files from previous commit.