Change coin flippling problem