Update Brensawy.java

Added method that will check the input arguments of a method