hw#2 line drawing assignment. Fixed error w/ reassigning variable values