Basic Setup

attempt to modularize the application.
created a function that prints an array