Update ObliviousTransfer.java

Added checking functionality