Added example of generic class List.
Added example of code working with arrays.