Pattern InvertedHourGlass

Please refer to this corrected code. There were small changes that need to be made. When you are using if-else blocks, you should be careful that the variables inside an if-else block should be incremented inside that block itself, otherwise they will get incremented everytime. And also, try not to use so many different variables, it makes your code really hard to understand. You should re-use variables.