math and algorithm files