fix constructor and energy function
fix findVerticalSeam()
added picture viewer. It shows a reduced pic, but seems to be pulling too much from the left side. TODO: debug.