Completed chapter1 exercises of Learning Go