Added initialization code for QuickFind algorithm