added command line args, finish point, and solutions coincide with the number of shapes