Perl implementation of Factorial, Fibonacci, Insertion sort & Bubble sort