changed a bunch

Changed everything to an array list.  added some functions. added file
I/O