Update Allocate.java

Need to find way to handle save()...it returns object when allocate expects bitset. need to find syntax