Simple calculator in PHP