Added format_enries function. Displays on the console as of yet.