increasing display to 8 digits and adding input from Port C