Final Program Code
Merge pull request #1 from jonathanworth/master

Final version