learning code for the book beginner node