Exercises from node beginner book