A quick generic implementation of Bresenham's Line Algorithm.
Arguments are constrained to signed types. The line is returned as a slice of type Point[T], a type provided by the library.
Point[T]