Implement a Fourier Transform algorithm in Python.
Not applicable
import numpy as np

def fourierTransform(signal):
    N = signal.shape[0]
    W = np.exp(2j * np.pi * np.arange(N) / N)
    fourier = np.dot(signal, W)
    return fourier