Drawing Bot

Can you post your bresenham implementation? I've been getting odd/inaccurate results and haven't been able to figure out why.