add two logical problems - perfect cube and reversed names