Changing horizon and alpha
Duplicated code
Adding difficult problem