updated .s to mark the end of output
updated .s to mark the end of output
updated .s to correctly print edge cases
update NUMBER to return 0-based index of first wrong char