Created the ifs for pieces

Needs to be filled out