Correcting and updated create_peaks
Added Max's version
Added bash script