added a check to main to ensure that input node values below 1 are rejected; also added a list of designated initializers for test graphs