Diet Cake Board exercise

1st PR
fix if conditions :+1: 
although if i remove isset, it will result in an error of undefined index