Programming Puzzle #1

Hello Computer Scientists! Welcome to the first programming challenge. In the spirit of Ramanujan, we will be estimating the value of Pi. Level 1 (beginner), calculate and print out the value of Pi accurate to 2 decimal places (3.14). Level 2: calculate and print out the value of Pi accurate to 10 digits. Level 3: who can get closest to the value of Pi in less than 30 seconds of compute time? You can check your answer by subtracting it from the value here: http://www.piday.org/million/ – remember, the goal is to actually try to calculate Pi, not just print the value. Unfortunately, Facebook removes formatting, so just post a screenshot of your code. Any language is great!