added tests and started pig scripts
final commit
pig script