Divides array.java in classes to seperate data and user.