Updated BoundedList and added a sample program to demonstrate how BoundedList can be used.