inital checksum testing with leading zero test
ammended checksum calculation to properly calculate for both leading zero and missing check digit
separated UPC checksum function into two functions for more concise code