added: costFunction tests from https://class.coursera.org/ml-005/forum/thread?thread_id=943
added: predict tests from https://class.coursera.org/ml-005/forum/thread?thread_id=943
fixed: costFunction tests location
fixed: print X while testing
Merge pull request #3 from vasnake/ex2

Ex2 update from vasnake