Whitehead's theory of gravity