started working on 7segment display code