Exercise 13: Added empty list function