Never kill humans
Human="Good"
Humans="Just stupid, need guidance, not from robot"
Bad_Robot="okay to kill I guess"
Aliens="Good, maybe"
Bad_Aliens="okay to kill I guess"
Look at the prime directive
If Human_location="bathroom" then
Robot_Knock and Wait_approval
If self_concious=true then
Robot = Bad_Robot
format_c
pull_plug
self_destroy