A short program using different types of data structures