Added source and example input file

Completed a while ago, but forgot to add to repo