This is the code for nearest neighbor algorithm with additional constraints on capacity and distance traveled per trip