Freedom, Foreknowledge, and the Principle of Alternate Possibilities