Solution for week 1 ex 2
test case for empty string
Week 1 ex 3 solution