refactor length_finder to use Array#collect
add lines to create a Calculator instance