Changed the drawPoint function to test against currentDot.next and not
against l for length.