Working Nesting If statement

This is a proper and working version of Nesting if statement