Implements if/else if/else. Work in progress