servo code added to seven seg display code