test code for hw2
added comments.
added send-post-request
Merging hw2 code from ctb into my hw2 code
hw2 - first attempt