Added command-line argument handling.
Merge branch 'master' of github.com:TimBeattieEdUni/PS-Coursework-I