version 1 final

code was extended from CompareAnswer