Given a bag of marbles, with as many marbles as you want, there exists one marble that is slightly heavier, but you don't know where it is. you just need to find the marble through weighing it on a comparison scale with two platforms. I programmed it to find it the quickest way.