The existence of solutions to a class of boundary value problems with fractional difference equations