Updated PDT Code Samples

I changed the file names to be proper file extensions instead of .txt files and also updated the reference link in the readme to point to the developer portal instead of x.com.