Update HighOvenLogic.java

refactoring method checkValidStructure to solve Toops#22