Create searchByProgram.py

Initial commit.  TODO: create dynamic SQL query and put into functions.