Failure Count Probability Before Success Goal - Coding problem | OneNoughtOne