Will those CPU and GPU work with the motherboard without problem?

Overall yes, but:
- motherboard might need BIOS upgrade to run that CPU; so buying any B250 based motherboard is safer move here
- don't get 2 single ram sticks, look for a 2 stick kit if possible - making 2 sticks not from kit work together is problematic sometimes
 

atljsf

Honorable
BANNED
motherboard probably will need the bios update, if it doesn't have it form the factory, you will not be able to use the mainboard with that cpu so you must be sure that is capable of run 7th gen cpus out of the box

consider buying a b250 mainboard, that one will support that cpu out of the box

the rest looks good to me, nice budget gaming pc