Added solution to problem 27
Added compilation script for problem 27