Finished Fibonacci and Lucas series function with unit tests and explanations