Capitalism, socialism and communism