Made java 8
Added class to plot bresenham lines