Added terminal size function to console.py
Refactored pprint to include terminal_size() from utils