moved files around, got array access to work correctly for assignment and printing