Implement choice creation functionality
Fix double memory free by passing pointer to pointer to free pages list to createPage function