Add serial divider function
Tested divider