[Coursera] First working example of SeamCarver.java