walk_to(bed)
grab(soap)
walk_to(towel)
grab(towel)
walk_to(stained_shoes)
place_on_top(soap, stained_shoes)
place_on_top(towel, stained_shoes)
wait(5 minutes)
grab(towel)
place_on_top(towel, floor)
grab(dry_rag)
walk_to(dusty_shoes)
place_on_top(dry_rag, dusty_shoes)
rub(dry_rag, dusty_shoes)
walk_to(bed)
place_on_top(soap, bed)
place_on_top(dry_rag, bed)
After that, it uses the dry rag to wipe the dust off the other shoes)
