bwa function written

best worst avg function written not yet implemented/running