Cleaned up the two candles problem code and added code to solve a problem about preference voting that came up on Discord.