first bruteforce sol for peaks
peaks normal sollution