solutions to the book "Beauty of Programming"