added BaseQue.java which is the data collector and processer. there also massive changes to each of the algorithms because of the addition of BaseQue.