added ex11 using forward & backward while loops
added ex12
added ex13: the switch statement