Added bin to seven segment encoder