COMP 322, lab6 - Daemon