Implemented TripleDouble

http://coderbyte.com/CodingArea/GuestEditor.php?ct=Triple%20Double&lan=JavaScript