button class made and tried pygame