Prolog day 1.
Merge pull request #19 from novoda/andrei_prolog_day1

Prolog day 1.