Solved holes in C,Python,Java