Implements 'If' statement