commit 3: pig latin and better flip-flop logic in nims