Added a map function for our equation of a line