Add makepalin_oracle.py and median_oracle.py