Node is a data class that holds information about a node. The properties are mutable so that they can be changed during runtime.