Added displayHeader function to main