exercism base and simple solution