Allow construction of a BooleanCircuit using a Scanner

Added additional constructor to BooleanCircuit which takes a Scanner instead of a File.

This addresses https://github.com/cryptobiu/scapi/issues/13