Transfer the code to umich account

Transfer the code to umich account and save all the modification I made
before. Make the color loop and add another option called -o to choose
the output file place.