Improved thread at https://www.guildcraft.org/threads/working-cheap-t-flip-flop-for-all-you-redstone-nerds.50959/