Modified the TOP expression to accept parentheses also;

Added the possibility to have parentheses in the TOP expression, but the code should probably be refactored to an object-oriented solution instead.