Node option

Added option for number of nodes.