Node class working

Imaginary and Node classes now work