working hidden digits rb soln