Added pad.c source to repository.
Added copyright and license to pad.c.
Added comment.