added chest and modified algorithm files