Embedded Software Design: Exercise 1