Added Data class for GUI on lab2