Syntactical Change

Added curly braces "{" surrounding all if/else statements