Adds minor improvement for pretty printer

Implement 4 different pretty print styles:
0 - do not add any newlines at all
1 - add newline after opening brace
2 - add newline before closing brace
3 - add newline before opening brace