added all of the stuff. Only the bresenham algorithm works atm