modified readme, updated comments in code