Implemented Key schedule, changed return value of key schedul function