Added solution for ex1-17 in k&r