Implement spend money calculation