Implement solution to Mithril tutorial part 1