P26 27

Problem p27 consists of 2 sub-problems thus added signature for the second (more generalized) sub-problem.
Implemented tests for p26, p27 and p27b

Solves: https://github.com/jaceklaskowski/scalania/issues/5