Exercise 3

Changed sys_wait() to block instead of poll.