working on normal scan coversion
implement the z-buffer algorithm