Task 2.1: Node classes