Added function to write out number to lcd