Evaluate Reverse Polish Notation

Problem and solution mostly taken from

http://www.programcreek.com/2012/11/top-10-algorithms-for-coding-interview/