stote taskList

using build-in functionality of arraylist in Java