Hi Rudolf,
Thank you so much for your answer!
I have two questions though.
1. What does the push and say mean? I though that say is something like print, but I don't get any output now. Is it possible to print it to a file?
2. When I print $lesser_val it prints it multiple times. Should it be outside a loop or something?
Thanks!