Refactored out solution from checkMapping.
Merge branch 'master' of github.com:sangisos/pkdhomeass1