Solutions to the node homework assignment