Merge pull request #1 from ishanthilina/q1

initial pthreads code added
pthreads implementation completed
CUDA code only works for numbers .le. 1e7
CUDA calculation is not working properly
Initial commit
Initial code added
Initial code added
Merge branch 'q1' into q2
Merge branch 'q1'
Works fine except double precision out of memory error
Merge branch 'q2'
Merge branch 'q3'