Exercise 2 for Embedded Software Development Environments course