created cuda program computes pi by 2 pts/thread