senseless rearranging
implement some graph operations
off-by-one error with argument lists