added p3 directory and simplealarm.c