Added space prior to opening curly braces

Perhaps a little picky, but there were several styles of curly braces attached in the snippets. I took the liberty of "fixing" them to align with how I like to have them, ie with a space character between the ending parenthesis and the beginning curly brace.
Example before: if(true){
Example now: if(true) {