First approach to calculate pi (assignment 1). But im not using mt19937 by now