Update TAallocation.java

changed assert methods at prof's request to be consistent with the website (as opposed to what he said in tutorial)