added prettytable printing - prints like a boss