Added tools.sml with sum and fibonacci functions