Exit at end of input
Improve formatting of div function.
map