Problem: Coffee pot is empty.
Step 1: is pot available? Yes- goto step 2. No- goto bad_end
Step 2: Fill pot with water
Step 3: is filter available? Yes- goto step 4, No- goto bad_end
Step 4: Get filter, put in basket
Step 5: Is coffee available? Yes- Goto step 6, No- goto bad_end
Step 6: Put coffee in filter
Step 7: Turn on coffee maker, and pour water into it.
Step 8: Put pot on warming plate (quickly)
Step 9: Delay 3 minutes goto good_end
bad_end: Bob is going to be sleepy and grouchy today, goto exit
good_end: Bob is going to be happy today.
exit