added copyright header to the source