ruby fibonacci working recursively and with while loop