Added solution to FMI 2014 exam.