1. add Exception class   2. Create Node class