insertion sort was implemented; maven was replaced with gradle